home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-09-27 | 2.0 KB | 78 lines |
- #Makefile for the amiga port of origami
- # SAS/C 6.50
- #Version 1.6.92.1
- #
- SC= sc
- SLINK= slink
- #
- #FLAGS1 : compiler options for compiler behaviour
- FLAGS1= ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
- #
- #FLAGS2 : include options
- FLAGS2= IDIR=origami:
- #
- #FLAGS3 : define options
- FLAGS3= DEF=BIG DEF=ORIGAMI DEF=REGEXP DEF=AMIGA DEF=AREXX DEF=NO_MAIL
- #
- #FLAGS4 : additional options
- FLAGS4= OPTIMIZE OptComp=0 OptInl OptInlocal Opttime optsched
- #FLAGS4= PROFILE
- #
- #DEBUG_FLAGS : define DEBUG for DEGUB usage
- #DEBUG_FLAGS= DEBUG=symbolflush
- #DEB_LD_FLAGS= ADDSYM
- #
- #FLAGS5 : link options for linker behaviour
- FLAGS5= BATCH
- #
- #FLAGS6 : library includes
- FLAGS6= LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
- #FLAGS7 : linker defines
- FLAGS7=
-
- SCFLAGS= ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
- LDFLAGS= $(FLAGS5) $(FLAGS6) $(FLAGS7) $(DEB_LD_FLAGS)
-
- .c.o:
- $(SC) $(SCFLAGS) $*
-
- OBJS= buffloop.o display.o fieldedit.o filec.o finds.o \
- foldfiling.o foldhelp.o folding.o getmsg.o gettoken.o init.o \
- keytab.o loop.o main.o messages.o misc.o oriedt.o \
- prompts.o readfolds.o set.o string.o \
- virtual.o writefolds.o \
- /amiga/src/keyboard.o \
- /amiga/src/amigamisc.o /amiga/src/screen.o \
- /amiga/src/shell.o /amiga/src/signals.o /amiga/src/initreset.o \
- scrbuff.o
-
- #{{{}}}
- #{{{ -> all
- all: origami
- #}}}
-
- #{{{ origami
- origami: $(OBJS)
- $(slink) <WITH <
- from lib:cback.o+
- $(OBJS)
- to origami $(LDFLAGS)
- <
- #}}}
-
- #{{{ -> install
- install:
- copy origami //bin
- copy /h/.origamimsg //bin
- #}}}
-
- #{{{ -> reset
- reset: clean
- -delete origami smakefile
- #}}}
-
- #{{{ -> clean
- clean:
- -delete \#?.o \#?.lnk \#?.tmp \#?.info
- #}}}
-